# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zd1211-firmware
pkgver=1.5
pkgrel=0
pkgdesc="Firmware for ZyDAS ZD1211 USB-WLAN devices supported by the zd1211rw driver"
url="https://sourceforge.net/projects/zd1211/"
arch="noarch"
license="GPL-2.0"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages=""
source="https://downloads.sourceforge.net/project/zd1211/zd1211-firmware/$pkgver/zd1211-firmware-$pkgver.tar.bz2"

_builddir="$srcdir"/zd1211-firmware
build() {
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/lib/firmware/zd1211
	cp zd1211_ub zd1211_ur zd1211_uphr zd1211b_ub zd1211b_ur zd1211b_uphr \
		"$pkgdir"/lib/firmware/zd1211/
}

sha512sums="6a8d39318a8c136b2a780ebeb485a94bbb05fa12ad7104b707314e0108e49939b4dcd0035b19f07dac0ec7bdd12668ea281b48724e512b45ac5df9dedf035897  zd1211-firmware-1.5.tar.bz2"
